package com.zc.blog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zc.blog.mapper.VisitorMapper;
import com.zc.blog.model.Visitor;
import com.zc.blog.service.IVisitorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 游客Service实现类
 */
@Service("VisitorService")
public class IVisitorServiceImpl extends ServiceImpl<VisitorMapper, Visitor> implements IVisitorService {

    @Autowired
    private VisitorMapper visitorMapper;

    @Override
    public Visitor findById(Integer id) {
        return visitorMapper.findById(id);
    }
}
